package com.sky.service;

import com.sky.vo.*;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    /**
     * 获取用户统计数据
     */
    UserReportVO userStatistics(LocalDate begin, LocalDate end);

    /**
     * 获取营业额统计数据
     */
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    /**
     * 获取订单统计数据
     */
    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);

    /**
     * 获取销量排名
     */
    SalesTop10ReportVO top10(LocalDate begin, LocalDate end);
    /**
     * 导出运营数据报表
     * @param response
     */
    void exportBusinessData(HttpServletResponse response);
}
